<?php require('conexion.php');
@session_start();
@$usuario=$_SESSION["dato2"];
@$consulta="select * from personas where idPersona='".$usuario."'";
@$rs=mysql_query($consulta);
@$row=mysql_fetch_array($rs);
@$tipo=$row["tipoPersona"];
@$rs=mysql_num_rows($rs);
if($rs<=0){
/*if($usuario!='admin'){*/
}
if(@$tipo==='admin')
{
@header("Location:listalubes.php");
}
if(@$tipo==='Monitor')
{
@header("Location:menumonitor.php");
}
if(@$tipo==='Alumno')
{
@header("Location:menualumno.php");
}
 ?>
<!DOCTYPE html>
<html> 
<head> 

	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>SISCOCLUB V_1.0</title>
	<link rel="stylesheet"  href="css/themes/default/jquery.mobile-1.2.1.css" />
	<link rel="stylesheet" href="../_assets/css/jqm-docs.css" />
	 <link rel="shortcut icon" href="images/logo.jpg" />	 
	<script src="js/jquery.js"></script>
	<script src="docs/_assets/js/jqm-docs.js"></script>
	<script src="js/jquery.mobile-1.2.1.js"></script>
    <script type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head> 
<body onLoad="MM_preloadImages('album2/images/2.jpg','album5/images/4.jpg','album7/images/4.jpg','album4/images/4.jpg','album6/images/3.jpg','album3/images/4.jpg')">
	  <div class="ui-btn-up-b" data-role="header" data-theme="f">
		<h1><strong>SISCOCLUB - MENU DE ACCESO</strong></h1>
	  </div>
	  <div align="center"><!-- /header -->
	    <p><img src="index_clip_image002.png" alt="da" width="200" height="200"></p>
      </div>
	  <div data-role="content">
		<div class="content-primary">
		
		  <ul data-role="listview" data-split-icon="gear" data-split-theme="d">
		  <li>
		  <a href="busquedadmin.php" target="_parent">
		  <img src="images/men.png" width="76" height="81" />
          <h3>ADMINISTRADOR</h3>
          <p>Ingresar como Administrador</p>
          </a></li>
		  <li>
		  
		  <a href="busquedamonitor.php" target="_parent">
		  <img src="images/men.png" width="76" height="81" />
          <h3>MONITOR</h3>
          <p>Ingresar como Monitor</p>
          </a></li>
        <li>
		
		<a href="busquedalumno.php" target="_parent">
		<img src="images/men.png" width="76" height="81" />
		<h3>ALUMNO</h3>
		<p>Ingresar como Alumno</p>
        </a></li>
		<li>
	      <div align="center"><strong>GALERIA DE CLUBES</strong>
          </div>
	      <marquee behavior="scroll" onMouseOut="this.start()" onMouseOver="this.stop()">
		    <div align="center"><a href="galeriasiscoclub/examples/indexdos.html" target="_parent" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('TAE','','album2/images/2.jpg',1)"><img src="album2/images/1.jpg" alt="DANZA" name="TAE" width="80" height="80" hspace="10" vspace="10" border="0"></a>
		      <a href="galeriasiscoclub/examples/index.html" target="_parent" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('TAEW','','album1/images/3.jpg',0)"><img src="album1/images/1.jpg" alt="TAE" name="TAEW" width="80" height="80" hspace="10" vspace="10" border="0"></a>
		      <a href="galeriasiscoclub/examples/index5.html" target="_parent" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('BOL','','album5/images/4.jpg',1)"><img src="album5/images/3.jpg" alt="VOLEIBOL" name="BOL" width="80" height="80" hspace="10" vspace="10" border="0"></a>
		      <a href="galeriasiscoclub/examples/index7.html" target="_parent" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('FUT','','album7/images/4.jpg',1)"><img src="album7/images/2.jpg" alt="FUTBOL" name="FUT" width="80" height="80" hspace="10" vspace="10" border="0"></a>
		      <a href="galeriasiscoclub/examples/index4.html" target="_parent" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('BAS','','album4/images/4.jpg',1)"><img src="album4/images/1.jpg" alt="BASQUETBOL" name="BAS" width="80" height="80" hspace="10" vspace="10" border="0"></a>
		      <a href="galeriasiscoclub/examples/index6.html" target="_parent" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('BANDA','','album6/images/3.jpg',1)"><img src="album6/images/4.jpg" alt="BANDA DE GUERRA" name="BANDA" width="80" height="80" hspace="10" vspace="10" border="0"></a>
		      <a href="galeriasiscoclub/examples/index3.html" target="_parent" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('ESC','','album3/images/4.jpg',1)"><img src="album3/images/2.jpg" alt="ESCOLTA" name="ESC" width="80" height="80" hspace="10" vspace="10" border="0"></a>
	      </div>
	      </marquee>
		</li>
		  </ul>		
	  </div>
		<!--/content-primary -->
	</div><!-- /content -->
	<div data-role="footer" class="footer-docs" data-theme="c">
	  <p align="center"><strong>Sistema para Control de Clubes</strong></p>
		<p align="center"><strong>Instituto Tecnologico de Tlaxiaco</strong></p>
	</div>
<!-- /page -->
</body>
</html>